package com.fitns.user.model.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class Privilege implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("权限编码")
    private String code;

    @ApiModelProperty("权限类型")
    private String type;

    @ApiModelProperty("权限url")
    private String url;

    @ApiModelProperty("权限顺序")
    private int orderNum;

    @ApiModelProperty("父级权限id")
    private Long parentId;

    @ApiModelProperty("是否启用")
    private int blnValid;

    @ApiModelProperty("权限等级")
    private int grade;

    @ApiModelProperty("创建者")
    private Long createId;

    @ApiModelProperty("修改者")
    private Long modifyId;

    @ApiModelProperty("创建时间")
    private Timestamp createTime;

    @ApiModelProperty("修改时间")
    private Timestamp modifyTime;


}
